/*清除浮动*/
.clearfix::before,
.clearfix:after{
	content:"";
	display: table;
}

.clearfix:after{
	clear:both;
}

.hide{
	display: none;
}
/*头部样式*/
header{
	position:absolute;
	z-index:10;
	width: 100%;
	height: 2rem;
	background: #e81c11;
	text-align: center;
	border-bottom: 3px solid #fff;
	overflow:hidden;
}
header h1{
	display: inline-block;
	font-size:0.7rem;
	color: #fff;
	font-weight:200;
}
header div{
	position: absolute;
	width: 1.4rem;
	height: 1rem;
	top:0.5rem;
	left:8rem;
}
header div img{
	width: 100%;
	height: 100%;
}
/*主体样式*/
.container{
	position: absolute;
	top:2.05rem;
  	width: 100%;
  	height: 100%;
  	overflow: hidden;
  	z-index:1;
}
.container .sidebar{
	float: left;
	width: 2.7rem;
	height:100%;
	overflow: hidden;
	background-color: #e81c11;
}

.container .sidebar .ul-box ul li{
	width: 2.4rem;
	height: 0.83rem;
	margin: 0.5rem 0.34rem;
	line-height: 0.83rem;
	text-align: center;
	color:#fff;
}
.container .sidebar .ul-box ul .active{
	background-color: #fff;
	line-height: 0.83rem;
	text-align: center;
	color:#e81c11;
}

.container .main{
	position:absolute;
	margin-left: 2.7rem;
	width: 7.3rem;
	height:14rem;
	z-index:1;
	overflow: hidden;
}
.container .main .ul-box{
	width: 100%;
}
.container .main .ul-box ul{
	width: 100%;
}
.container .main .ul-box ul li{
	position: relative;
	width: 100%;
	height: 3.3rem;
	border-bottom: 3px solid #c0c0c0;
}
.container .main .ul-box ul li .li-img{
	position: absolute;
	left:0.65rem;
	top:0.56rem;
	width: 2.5rem;
	height: 2.5rem;
}
.container .main .ul-box ul li .li-img img{
	width: 100%;
	height: 100%;
}
.container .main .ul-box ul li .li-word{
	position: absolute;
	top:0.4rem;
	left:4.2rem;
}
.container .main .ul-box ul li .li-word .name{
	padding:0.15rem;
	font-size: 0.35rem;
	color:#666664;
}
.container .main .ul-box ul li .li-word .price{
	position: relative;
	text-align: center;
	font-size: 0.5rem;
	left:-0.1rem;
	color:#e81c11;
}
.container .main .ul-box ul li .li-word .button{
	padding-left: 0.3rem;
	padding-top: 0.18rem;
}
.container .main .ul-box ul li .li-word .button span{
}
.container .main .ul-box ul li .li-word .button button{
	background-color:#f1f0f0;
	border: 1px solid #f1f0f0;
	font-size: 0.4rem;
	text-align: center;
}
.classical-box .ul-box ul li .li-word .name{
	padding:0.15rem;
	font-size: 0.4rem;
	color:#666664;
}
.classical-box .ul-box ul li .li-word .price{
	text-align: center;
	font-size: 0.6rem;
	color:#e81c11;
}
/*底部样式*/
footer{
	position:fixed;
	z-index: 10;
	width: 100%;
	height: 1.7rem;
	bottom:0;
}
footer .buy-box{
	position: relative;
	float: left;
	width:65%;
	background-color: #fff;
	border-top: 2px solid #c0c0c0;
	height: 100%;
}
footer .buy-box .buy_car1{
	position: absolute;
	width: 1.1rem;
	height: 1.1rem;
	left:0.9rem;
	top:0.28rem;
}
footer .buy-box .buy_car2{
	position: absolute;
	width: 0.9rem;
	height: .8rem;
	left:.92rem;
	top:0.48rem;
}
footer .buy-box .num{
	position: absolute;
	width: 0.6rem;
	height: 0.39rem;
	left:1.8rem;
	top:0.25rem;
}
footer  .buy-box .buy-num{
	position: absolute;
	color:#fff;
	left:1.95rem;
	top:0.155rem;
}
footer  .buy-box .buy-num span{
	font-size: 0.4rem;
	text-align: center;
}
footer  .buy-box .buy-amont{
	position: absolute;
	left:3rem;
	top:0.48rem;
	color:#e81c11;
}
footer  .buy-box .buy-amont span{
	font-size: 0.55rem;
}
footer .submit{
	float: left;
	width: 35%;
	height:100%;
	background-color:#e81c11;
}
footer .submit button{
	width: 100%;
	height: 100%;
	font-size: 0.55rem;
	color:#fff;
	border: 1px solid #e81c11;
	background-color: #e81c11;
}
.pop-box{
	display: block;
}
.classical-box{
	display: none;
}
.box{
  position: absolute;
  left:0;
  top:0;
  height: 100%;
  width: 100%;
}
.scroll{
  position: absolute;
  left: 0;
  top:0;
  width: 100%;
}
.placehorlder{
	width: 100%;
	height: 1.7rem;
}
.layer{
	position:absolute;
	display: none;
	top:10.5rem;
	width: 100%;
	height: 4rem;
	background: #f0f0f0;
	border:3px solid #bebaba;
	text-align: center;
	opacity: 0.9;
}
.layer .layer-top{
	position:absolute;
	width: 100%;
	height: 1.2rem;
	text-align: center;
	background-color: #e81c11;
}
.layer .layer-top h2{
	display: inline-block;
	font-size: 0.4rem;
	font-weight: 200;
	color:#fff;
}
.layer .layer-top  button{
	font-size: 0.3rem;
	position: absolute;
	left:8rem;
	top:0.3rem;
}
.layer .layer-top .down-img{
	position: absolute;
	left:0.5rem;
	top:0.4rem;
	width: 0.6rem;
	height: 0.4rem;
}
.layer .layer-content{
	width: 100%;
	padding: 1.5rem 0.6rem 0.6rem 0.6rem;
	margin-left: -0.48rem;
}
.layer .layer-content ul{
	width: 100%;
}
.layer .layer-content ul li {
	width: 100%;
	height: 1rem;
	text-align: center;
	border-bottom: 3px solid #bebaba;
	margin-bottom:0.1rem; 
}
.layer .layer-content ul li button{
	display: inline-block;
	box-sizing:border-box;
	margin-left:0.4rem;
	border-radius: 0.5rem;
	font-size:0.6rem;
	color:#fff;
	text-align: center;
	background-color: red;
	border: 1px solid red;
}
.layer .layer-content ul li .food-name{
	height: 0.5rem;
	font-size: 0.4rem;
}
.layer .layer-content ul li .food-amount{
	font-size: 0.4rem;
	color:#e81c11;
}






